-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: improve support for right-to-left languages in Data Visualiser #3073
Conversation
… tree (DHIS2-15000) (#3051)
Automatically merged.
Passing run #2868 ↗︎
Details:
Review all test suite changes for PR #3073 ↗︎ |
699ef59
to
9091369
Compare
9091369
to
572b12d
Compare
🚀 Deployed on https://pr-3073.data-visualizer.netlify.dhis2.org |
572b12d
to
da932a3
Compare
da932a3
to
c16e61d
Compare
using css2logical tool
Data Visualizer App Run #2937
Run Properties:
|
Project |
Data Visualizer App
|
Branch Review |
DHIS2-16778/visualiser-rtl-support
|
Run status |
Passed #2937
|
Run duration | 10m 10s |
Commit |
9b745b8b61 ℹ️: Merge d2e44401d18b531667bdae4d0c80c4e8dfca08da into f88382b6a2e1c9308b7e9a1b8f12...
|
Committer | Mozafar |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
1
|
Pending |
2
|
Skipped |
0
|
Passing |
741
|
View all changes introduced in this branch ↗︎ |
This url doesn't work. Seems like netlify has changed their url format. This one works: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found some bugs
Above reported bugs are now fixed |
# [100.8.0](v100.7.2...v100.8.0) (2024-10-07) ### Features * improve support for right-to-left languages ([#3073](#3073)) ([777b36d](777b36d)), closes [ui#1448](https://github.com/ui/issues/1448) [app-platform#825](https://github.com/app-platform/issues/825) [cli-style#464](https://github.com/cli-style/issues/464)
🎉 This PR is included in version 100.8.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Implements DHIS2-16778
Key features
cli-style
to a version that supports checking logical properties (and automatically converting physical to logical properties)Description
This PR implements better support for right-to-left languages in the app, by leveraging the use of logical CSS properties that are independent of language direction, rather than physical properties (i.e.
*-start
instead of-left
and*-end
instead*-right
). Logical properties are widely supported now and they should become the default way for layout going-forward to ensure that we support RTL languages without extra development burden (which will be enforced byd2 style
).Although the change set is big. It's mostly done automatically using
d2 style apply css
which under the hood uses stylelint to enforce and apply the rules.The better support for RTL builds on top of previous work done in the platform, namely:
d2.config
that allows apps to declare they're ready to support RT. The platform changes also takes care of setting the correct direction and language for the header among other things: feat: add configurabledir
for language directions to app adapter [DHIS2-16480] app-platform#825Testing
Screenshots